package cn.wolfcode.crm.Service;


import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.query.PermissionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    PageInfo<Permission> queryForList(PermissionQuery qo);

    void reload();
}
